package com.collapse.union.gitee.liteflow.design.demo.NodeComponent;

import com.yomahub.liteflow.core.NodeSwitchComponent;
import org.springframework.stereotype.Component;

@Component("dswitch")
public class DswitchCmp extends NodeSwitchComponent {

    @Override
    public void process() {
        System.out.println("a cmp!");
    }

    @Override
    public String processSwitch() throws Exception {
        return "a";
    }
}

